package com.wxapp.sale.api.feign.fallback;

import com.wxapp.common.constant.base.IBaseService;
import com.wxapp.common.constant.pojo.vm.ResultVm;
import com.wxapp.sale.api.feign.CustomFeign;
import com.wxapp.sale.api.pojo.po.custom.PAddressVm;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.View;

/**
 * @author lgl
 */
@Component
public class CustomFallBack extends IBaseService implements CustomFeign {
    @Override
    public ResultVm<PAddressVm> getDetail(String id) {
        return error("获取地址信息失败");
    }
}
